<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@page contentType="text/html;charset=UTF-8"   language="java"  %>
<%
  	String base = request.getContextPath();
%>
<!DOCTYPE html>
<html>
<%--<c:if test="${sessionScope.language != null && sessionScope.language != ''}">
	<fmt:setLocale value="${sessionScope.language}" scope="session"/>
</c:if>--%>
	<head>
		<meta charset="utf-8">
		<title>Homepage- Market Place by jasons<%--<fmt:message key="index.title" /><fmt:message key="index.market" />--%></title>
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">

		<jsp:include page="/pages/common/include.jsp" flush="true"/>
		<link rel="stylesheet" type="text/css" href="<%=base%>/resources/css/product/list.css"/>

		<style>
			.mui-pull-bottom-pocket{
				display: none !important;
				visibility: hidden !important;
				/*bottom: 302px;*/
			}
		</style>
	</head>

	<body>
		<div id="offCanvasWrapper" class="mui-off-canvas-wrap mui-draggable">
			<!--侧滑菜单部分-->
			<aside id="offCanvasSide" class="mui-off-canvas-left">
				<div id="offCanvasSideScroll" class="mui-scroll-wrapper">
					<div class="mui-scroll">
						<jsp:include page="/pages/common/menu.jsp" flush="true" />
					</div>
				</div>
			</aside>
			<!--主界面部分-->
			<div class="mui-inner-wrap">
				<header class="mui-bar mui-bar-nav" id="headBox">
					<jsp:include page="/pages/common/top.jsp" flush="true" />
				</header>
				<div id="offCanvasContentScroll" class="mui-content mui-scroll-wrapper">
					<div class="mui-scroll">
						<div class="wrap">
							<div class="classify-name">
								<!--<a href="javascript:void(0)" class="fresh-fruits"><img src="<%=base%>/resources/images/icon/pro-apple-icon.png" />Fresh food & Deli</a>-->
							</div>
							<div id="pickerBox" class="tab">
								<div>
									<select id="refine"></select>
								</div>
								<div>
									<select id="sort">
										<option value="popularity" selected="selected">Popularity</option>
										<option value="specialty">specialty</option>
										<option value="brand_asc">Brand Name A-Z</option>
										<option value="brand_desc">Brand Name Z-A</option>
										<option value="price_desc">Price (High to Low)</option>
										<option value="price_asc">Price (Low to High)</option>
									</select>
								</div>
							</div>
							<div class="countDisplay"><em>0</em> products sort by Popularity</div>
							<div class="content vertical-list">
								<ul></ul>
							</div>
							<div class="pageNum">
								Currently displaying 1-4 of 746 products
							</div>
							<div class="look-more">
								<img src="<%=base%>/resources/images/icon/more-icon.png" />load more<%--<fmt:message key="product.list.look-more" />--%>
							</div>
							<div class="footer" id="footer">
								<jsp:include page="/pages/common/footer.jsp" flush="true" />
							</div>
						</div>
					</div>
				</div>
				
				<!--searchbar-->
				<div class="searchBar">
					<jsp:include page="/pages/common/search.jsp" flush="true" />
				</div>
				
				<div class="rightBottom animate"></div>
				
				<!-- off-canvas backdrop -->
				<div class="mui-off-canvas-backdrop"></div>
			</div>
		</div>
		<script type="text/javascript" src="<%=base%>/resources/js/set_product_list.js" ></script>
		<script type="text/javascript" src="<%=base%>/resources/js/product/list.js" ></script>
		<script>
			//主界面和侧滑菜单界面均支持区域滚动；
			mui('#offCanvasSideScroll').scroll();
			mui('#offCanvasContentScroll').scroll();
		</script>
	</body>

</html>